package com.xinhe.web.enums;
public enum EPayChannel
        implements IEnumConfig
{
    YUNCHASEED("云茶籽支付"),
    CONSUMERGOLDREDENVELOPE("消费金红包支付"),
    TEAOILCARD("茶油卡支付"),
    BALANCE("余额支付"),
    OFFLINE("线下支付"),
    WEIXIN_APP("微信APP支付", EPayPlatform.WEIXIN),
    WEIXIN_JSAPI("微信JSAPI支付", EPayPlatform.WEIXIN);




    private String label;




    private EPayPlatform platform;





    EPayChannel(String label) {
        this.label = label;
    }

    EPayChannel(String label, EPayPlatform platform) {
        this.label = label;
        this.platform = platform;
    }





    public String getLabel() {
        return this.label;
    }


    public String getName() {
        return name();
    }

    public EPayPlatform getPlatform() {
        return this.platform;
    }


    public String getGroup() {
        return getClass().getSimpleName();
    }
}